﻿#pragma once

#include <QDialog>
#include "ui_ThresholdShaderDialog.h"

class ThresholdShaderDialog : public QDialog
{
	Q_OBJECT

public:
	ThresholdShaderDialog(QWidget* parent = nullptr);
	~ThresholdShaderDialog();

signals:
	void setThresholdValue(float slideValue);

public slots:
	void OnSlidePressed();
	void OnSlideReleased();
	void OnSlideValueChanged(int value);
private:
	Ui::ThresholdShaderDialog ui;
	float slideValue = 0.5f;
};
